וַיְהִ֗י מִקְצֵה֙ עֶשְׂרִ֣ים שָׁנָ֔ה אֲשֶׁר־בָּנָ֥ה שְׁלֹמֹ֖ה אֶת־שְׁנֵ֣י הַבָּתִּ֑ים אֶת־בֵּ֥ית יְהוָ֖ה וְאֶת־בֵּ֥ית הַמֶּֽלֶךְ׃
Und es geschah nach zwanzig Jahren, als Salomo die beiden Häuser gebaut hatte, das Haus des HERRN und des Königs's Haus—
Rashi on I Kings
Twenty years. I.e., seven years [to build] the Beis Hamikdosh, and thirteen years [to build] his own palace, as mentioned above.10Above 6:38, and 7:1.